class Student {
    String name;
    String gender;
    int age;
    int id;
    double score;

    public Student(String name, String gender, int age, int id, double score) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.id = id;
        this.score = score;
    }

    public String say() {
        String str = "名字：" + name + "; 性别：" + gender + "; 年龄" + age + "; id:" + id + ";成绩：" + score;
        return str;
    }
}

public class TestStudent {
    public static void main(String[] args) {
        Student s = new Student("张三", "男", 22, 520, 100);
        System.out.println(s.say());
    }
}